package com.spboot.entity;

import java.io.Serializable;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author guocb
 * @since 2020-04-27
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
public class Information implements Serializable {

    private static final long serialVersionUID=1L;

    @TableId(value = "Informationid", type = IdType.AUTO)
    private Integer Informationid;

    private Integer Typeid;

    private Integer Tableid;

    private String Name;

    private String Describea;

    private String Img;

    private Integer Price;

    // 标识逻辑字段 不是表中列
    @TableField(exist = false)
    public String colorname;// 颜色
    @TableField(exist = false)
    public String versiontype;//版本
    @TableField(exist = false)
    public String pricea;//价格

    @TableField(exist = false)
    public String editionid;//版本id

    @TableField(exist = false)
    public String colorid;//颜色id

    @TableField(exist = false)
    public String priceid;//价格id

    @TableField(exist = false)
    public String name;// 名字

    @TableField(exist = false)
    public String img;// 图片

    @TableField(exist = false)
    public String number;// 数量

    @TableField(exist = false)
    public String pricez;// 总价

    @TableField(exist = false)
    public String datetime;// 时间

    @TableField(exist = false)
    public String ordernumber;// 订单号

    public static final String INFORMATIONID = "Informationid";

    public static final String TYPEID = "Typeid";

    public static final String TABLEID = "Tableid";

    public static final String NAME = "Name";

    public static final String DESCRIBEA = "Describea";

    public static final String IMG = "Img";

    public static final String PRICE = "Price";

}
